import { request } from '@/utils/request'

export const login = (user) => {
  return request({
    method: 'POST',
    url: '/api/users/login',
    data: {
      user
    }
  })
}
